# Contributor: Galen Abell <galen@galenabell.com>
# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=rss2email
pkgver=3.14
pkgrel=0
pkgdesc="Forward RSS feeds to your email address, community maintained"
url="https://github.com/rss2email/rss2email"
arch="noarch"
license="GPL-2.0-only"
depends="python3 py3-feedparser py3-html2text py3-beautifulsoup4"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/r/rss2email/rss2email-$pkgver.tar.gz"
replaces="py3-rss2email"
provides="py3-rss2email=$pkgver-r$pkgrel"

build() {
	python3 setup.py build
}

check() {
	cd test
	python3 -m unittest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
e5da76894d315621bd097d907cbb99e5ecb0f3f8c0fc10ca619577cc08d66e38e47aec38d96d719b3ff2309056c79d7e33fa9feecd6de9b6d950da3ef39533ed  rss2email-3.14.tar.gz
"
